package com.ldatum.crm.dao;

import java.util.List;

import com.ldatum.crm.domain.NewTracks;
import com.ldatum.crm.domain.TTracks;

public interface TTracksDao {

	TTracks findById(Class<TTracks> class1, int id) throws Exception;

	void save(TTracks tracks) throws Exception;

	void delete(TTracks tracks, int id) throws Exception;

	void update(TTracks tracks, int id) throws Exception;

	List<TTracks> list(Class<TTracks> clazz, String employeeName) throws Exception;

	List<NewTracks> list1(Class<NewTracks> clazz, String employeeName)
			throws Exception;

}
